import React from 'react';
import PageTemplate from '../../Component/pageTemplate/index';
class Main extends React.Component {
  render() {
    const arr = this.props.location.pathname.split('/');
    const contsName = arr[arr.length - 1];
    return (
      <>
        <PageTemplate conts={contsName}></PageTemplate>
      </>
    );
  }
}
export default Main;
